two variables and distributive property